Joining a fiery debate over civil rights laws and moral norms, the country’s major education unions argue the court should rule to protect transgender rights not only for students, but also to ensure that teachers aren’t required to enforce harmful policies.