So IDK if it's been told how Ekko escaped his mind control but here's some speculation
Assuming that Viktor's mind control works like a drug (it gives them "happiness", shows them what they desire, like paradise and whatnot) and thats how he takes control of them
So maybe since Ekko already has seen what he desires and seen true paradise (from being in the alternate universe), he can see through the mind control of Viktor