A federal appeals court found that a lower district court did not have the jurisdiction to release Mahmoud Khalil from immigration detention.