Even before Trump’s return, Republican legislators in some states were rolling back diversity, equity and inclusion programs.