affirming gender-variant student serious potential physical and mental health risks