Top diplomats from China and the European Union pledged closer cooperation Wednesday, highlighting their common interests in peace and security and pushing a message of free trade and open engagement in contrast to fears that the U.S. is turning inward under President Donald Trump.