Stocks end lower on Wall Street as US-China tensions weigh