A potential agreement between the United States and Iran to end the fighting — and ease pressure on global energy markets.