A federal investigation finds that the state government elbowed parents aside in order to keep students’ gender-transition plans secret.