Hearing a high-profile culture-war clash, the Supreme Court on Wednesday seemed likely to uphold Tennessee’s ban on gender-affirming care for minors.