Texas officials’ belief they have the authority to employ their own immigration solutions at the Mexican border hinges on a previously failed argument that migrants are invading the state and the federal government has abandoned its duty to stop them.