Mrs. Trump was never comfortable in Washington, people who knew her said, and it showed. She began the presidency frightened by the personal security risks associated with it, friends said, and she tailored her relationship with the public accordingly.