Federal worker unions have sought over the past two months to lead the resistance to President Trump and his Department of Government Efficiency, filing lawsuits, organizing protests and signing up new members by the thousands.