Stocks hit record highs amid US-China trade optimism