Trump faces deadline in court battle over travel ban