The British monarch’s US visit underscores shared history amid strained ties and tensions over the Iran conflict.