Stocks rallied on optimism ahead of President Trump's meeting with Xi Jinping, boosted by trade progress, AI chip gains and strong rate-cut expectations.