A union representing 150,000 U.S. government employees filed suit to block President Trump from ending collective bargaining.