Supreme Court will take up state bans on gender-affirming care for minors