After allowing states to ban transgender medical care for minors, the Supreme Court agreed Thursday to decide whether states can exclude transgender females from girls’ and women’s sports teams. The ruling, due by next summer, could clear the way for President Donald Trump to require the sports bans in California and other states that oppose them.