Christian teachers and parents challenged the state’s policies, which they say require schools to hide students’ transgender status from their parents.