Republicans’ attacks on critical race theory are in sync with the party’s broad strategy to run on culture-war issues in the 2022 midterm elections, rather than campaigning head-on against Mr. Biden’s economic agenda — which has proved popular with voters — as the country emerges from the coronavirus pandemic.