In the first such lawsuit, the Trump administration accused the district of hiding students’ gender transition from their parents against federal law.