Stocks end mostly lower ahead of weekend trade talks between U.S. and China