A turn toward protectionism by the United States could well be a blessing in disguise for China.