Washington’s push to punish Iran’s trading partners could test its fragile truce with Beijing and trigger retaliation from the world’s second-largest economy.