A federal appeals court has ruled that the Trump administration can continue detaining immigrants without bond.