There's a reason that wizards get to ignore the muggle world despite their ignorance of it, and that's because they brutally overpower it. Teleportation, mind control, invisibility... all easily within a wizards powers, all existential threats to muggle power.
You're not wrong in that Harry Potter magic is incredibly powerful but it's not divine Lord of the Rings style magic. It has rules and limitations. And a war isn't necessarily won with raw power. With the three examples you've brought up, I see enough holes that could downgrade their effectiveness.
For teleportation, the muggles could hang strings from the ceiling and make their rooms modular by having adjustable walls and furniture. Because a wizard has to visualize (be familiar with) the destination, their risk of splinching is increased.
Invisibility is an easy one. While the user may be invisible, they are not ethereal. They still interact with the world and can be detected with the right technologies. Imagine if every first world country adapted surveillance state tactics like we have in Chinese metropolitan areas.
Mind control is the most difficult to deal with. I actually can't think of any way for a baseline human to counter it thats not borderline science fiction. What I suspect would happen is that the chain of command would become less centralized. This is good in that the muggle forces would be less organized, but would make most diplomacy impossible. Any major change of policy in a leader would be suspect and the amount of distrust and fear this would cause would be more likely to start a nuclear holocaust than lead to a victory. At the least, we're looking at the breakdown of muggle society and it's institutions if that ability becomes known.
It's my opinion that most of the magical elements in the setting could be mitigated with the right tools and knowledge, or they have enough drawbacks or resource constraints, that it's not worth risking a trained witch or wizard in a war where they're probably outnumbered a hundred to one. The only way forward for a total victory for the Magical World is to hit hard and fast, and not let the muggle learn and adapt. It's getting that knowledge that will be hardest for the non-magicals… which is why it's good that the Magical World is full of bigots. It's a time honored tradition to hire one side to kill the other. For example, I imagine that there would be many muggleborns and squibs that initially side with the muggles, if just out of familial loyalty or spite, and the goblins are a wildcard that have a lot of information on their historic enemies.
Edit:
Just saw the above post about the no-sell to satellites and cameras. I don't think that spell is canon but it makes sense that something like that must exist for the continuation of the setting past the 2020s. In that case, the muggles are fucked. They capitulate or get info from the goblin nation and just start dropping bombs.