If the Supreme Court takes the case, it will be the first time the highest court has weighed in on gender-affirming care for minors.