Across the vast federal bureaucracy, Donald J. Trump’s arrival in the White House has spread anxiety, frustration, fear and resistance among many of the two million nonpolitical civil servants who say they work for the public, not a particular president.