The principal of the Canberra school where a cage was erected for a 10-year-old autistic student has lost her job after an inquiry found she was the sole instigator of the decision.