The US wouldn't win a war against China anyway, not without great cost. They couldn't even beat the Taliban in Afghanistan after 15+ years, they've withdrawn and the Taliban are back running large parts of the country and having been doing that even before the US left.
What? Your examples are purely examples of "Hot" Wars. Not Cold Wars. Did the US military ever engage in combat with the Soviet military during the US-USSR Cold War? A Cold War is "war" without actual warfare. Examples today are US relations with Iran, Venezuela, and North Korea.
What is needed to punish China over their responsibility for the Covid-19 outbreak are sanctions, not overt warfare. Besides, warfare between nuclear powers only ends in MAD (Mutual Assured Destruction).
All countries in the world affected by this virus should come together and enact economic sanctions against China that will last for years.