Strong trading ties doesn't stop war. This is one of the largest lessons of WWI, and why an isolationist leader of the US is terrifying. It's sold as putting America first, but its scarily similar to the mad dash for guaranteed access to necessary resources before WWII.
Also, understand that the US has the backing (and mutual defect agreements) of South Korea, Japan, and NATO, and India would possibly join in a conflict against China as well. China wouldn't want a US backed state on its doorstep, but it would not want war against the US significantly more.
Mutual defense agreements don't matter if the US invades North Korea, the US is not the defensive party in the war. And it's easy to say that all of these sides would back the US now, an aggressive war in the region could change a lot of alliances.
Invading North Korea is not a sane option for the US unless China consents. The best case scenario sees China allowing it while preparing for a future conflict, and all out war is very possible.
This discussion is about "going in," which I take to mean an invasion. Any invasion attempt would start with the understanding that Seoul is going to look like London after the blitz at best.
Mobile artillery is a very difficult problem to remove all with one strike, because it is mobile for the precise reason that its difficult to know where they all are. That's why many nuclear missiles have been deployed on trucks, so that they can be stationed in remote areas and moved at a moments notice, similarly to submarines
And yeah, the UN resolution is incredibly unlikely. That's why it would work, if China consented to the move it wouldn't trigger WWIII.