A federal appeals court will hear arguments after a Texas law that would have allowed state law enforcement to arrest and deport migrants was blocked.