Confrontations over Russia’s actions didn’t appear to get in the way of jokes, photo ops and dinner with the host.