China's economic slowdown has been a long time coming, the relevance of this slowdown to the trade war is not necessarily as a consequence of it but more of a fortuitous opportunity for the US to negotiate freer trade in China. The trade war has an economic impact on China but there is a lot more behind their problems.
I expect China will be hit hard by the US terminating UPU.
Edit:Changed to UPU