Stocks close lower amid doubts about China trade pact