The International Monetary Fund said protectionism and new trade wars could weigh on growth.