Countering the Trump administration’s hostility to labor has been a string of historic and sometimes surprising wins in blue cities, counties, and states.