U.K. Prime Minister Theresa May and her Chinese counterpart Li Keqiang set thorny political issues aside and offered a bullish vision of the two countries’ relationship after Brexit.