They did not, there are about 300 political parties registered in Ukraine. They banned a handful of parties with ties to Russia.
While I'm queasy about the treatment of this guy, he's a foreigner so why not just deport him, banning parties with explicit ties to your enemy in times of war seems prudent.
- Hold that, it appears Lira is actually wanted for sending photos of military gear to Russian intelligence. I don't know how credible that accusation is, but I suppose we'll see.