US schools face federal threats over gender policies, testing Title IX protections against sex discrimination in education.