PHILADELPHIA — Three dozen union workers gathered outside city hall here on Thursday to rally against the global free-trade deals they believe have harmed Americans like them. Their candidate was Katie McGinty, the Democrats’ nominee for Senate in Pennsylvania. But their spiritual leader was Republican Donald Trump.