Virginia Democrats voted against teaching about the dangers of communism and the suffering of its victims after a teachers’ union said the curriculum would incite anti-Asian hate.