I personally think it depends on exactly what the limits of Magic are - it could be anything from Muggles eradicating Wizards, to the opposite, all very plausibly. To me, it comes down to the power of modern surveillance vs. the power of notice-me-not + space-expansion + anti-detection spells.
Plus there’s a whole bunch of other powerful spells and devices (time turners, for example), but the muggles have a while fuckton of gold and other valuables to recruit these capabilities to their side as well.
I would also consider the logistics of war. There's a military saying: novices study tactics, experts study logistics.
How long would it take to train a wizard to get to that level vs. a muggle with a gun? It feels like the classic knight vs. armed peasant situation.
That plus being able to cut off food supplies or infrastructure- just saying the US military was able to take out sadams military capabilities faster than he could react.
But the inverse also applies - there’s not much stopping wizards from portkeying/apparating into the Oval Office or the pentagon and magibombing them, or Avada-ing key targets. Wizards are probably the worst kind of guerrilla fighters - ones unchecked by range.
And as far as food is concerned, food multiplication is a thing. I personally believe that in the long term, the way muggles would win would be through subverting wizards, not by pure overwhelming force.
Wizards win logistics, they can enchant a car to hold as much as a 747. They can teleport, fly, levitate, and banish things. Their biggest problem is raw numbers.