The Trump administration asked the Supreme Court to take up the constitutionality of its restrictions on transgender people serving in the military.