A Melbourne school for children with intellectual disabilities is accused of making one of its students sit outside on a beanbag for more than an entire term as a way of dealing with his challenging behaviour.