The appeals court stayed its ruling until Oct. 14, giving the Trump administration time to ask the Supreme Court to hear the case.