The U.S. stock market capped a day of listless trading with modest losses Monday as investors focused on upcoming trade talks between the U.S. and China.