Leading doctor calls for action from Ofsted and an MPs’ inquiry after the death of headteacher Ruth Perry