Judge grant class action status in lawsuit over gender-affirming care