The Iran war wasn't expected to derail the Trump-Xi meeting in China, but analysts said it would influence the talks and any agreements that come out of them.