Politicians in blue cities and states increasingly aim to use retirement cash to promote a left-wing agenda.