The lawsuit was filed by an organization that has repeatedly gone to court to block policies respecting LGBTQ+ people.