The future of the Middle East could both affect and be influenced by whoever becomes the next US president