Haitian and Salvadoran refugees sued President Donald Trump, claiming his administration’s decision to end protections that allowed them to stay in the U.S. was “tainted by racial animus.”