The move formalizes court decisions that had already blocked the Biden administration’s anti-sex discrimination rule protecting LGBTQ+ students.