A school principal is alleged to have stolen money from funds earmarked for maintenance and building works at schools in western Sydney.