School chief's federal lawsuit is thrown out