District Court Judge Mark Pittman, an appointee of former President Donald Trump based in Fort Worth, said the program usurped Congress’ power to make laws.