The tech-heavy Nasdaq led gains on Wall Street on Wednesday, lifted by a rebound in chip stocks ahead of Nvidia's quarterly earnings.