Germans saw Ms. Merkel’s first visit with Mr. Trump with a pragmatism similar to the chancellor’s, but his remarks 24 hours later pointed to differences on policy.