WASHINGTON — The federal agency in charge of enforcing workplace anti-discrimination laws on Thursday voted to rescind its own guidance on how to guard against harassment at work, marking another major shift in U.S. civil rights enforcement under President Trump’s second administration.