The lawsuit comes after Trump issued an executive order moving to strip most federal workers’ unionization rights.