U.S. stock indexes rose on Wednesday after President Donald Trump said a trade deal with China could happen sooner than expected,