Stocks rose Monday after negotiators from the U.S. and China hammered out the framework for a trade deal between the world’s two largest economies.