(Image credit: Getty Images) Two of the three main equity indexes traded in record territory Tuesday as Wall Street returned from a three-day weekend, and markets looked beyond continuing uncertainty in the Middle East. Apple ( AAPL , -0.2%) hit a new high on optimism about its artificial intelligence (AI) initiatives amid broad gains for tech-related names, while energy, consumer staples and healthcare stocks struggled. At the closing bell, the tech-heavy Nasdaq Composite had added 1.2% to 26,656, and the broad-based S&P 500 had risen 0.6% to 7,519 — new all-time closing highs. But, despite celebrating the 130th anniversary of its May 26, 1896, debut, the Dow Jones Industrial Average was down 0.2% at 50,461. From just $107.88 $24.99 for Kiplinger Personal Finance Become a smarter, better informed investor.…