Challenges to the administration’s use of the 18th-century wartime law have gone all the way to the Supreme Court. Here’s where they stand.