Unions, a bastion of Democratic organizing and fundraising, have often had their priorities shunted to one side, were largely ignored during the 2016 presidential election and have been left to fight alone under withering assault at the state level.