A debate over the visas’ impact on U.S. workers has been overshadowed by racist rhetoric, with troubling echoes of the great replacement conspiracy theory.