People having citizenship and thus right to vote were minority in Athens. And I dont mean just that it excluded women and slaves. It was more then in other cities, but still a minority.
Two of Socrates students, overthrown the democratic government twice and killed a lot of people. Thousands, plus others lost properties or were send away. One of those students was friend of Socrates. The authoritarian killers here being friends and students of Socrates. So you know, some hard feelings are to be expected toward Socrates too.
Maybe he was considered dangerous, because his ideas were used in past to kill a lot of people. Where rule based society would respect amnesty (there was amnesty) despite fear and danger, this one was violent. Socrates might been big thinker, but his death is not the only one in the story that counts or counted for his contemporaries.
It is not totally entirely clear how Socrates was involved with what, but the society there was dealing with a lot of violence in close memory and that is ignoring violence against slaves.
It took a lot of violence too, in coming to power for US, not just writings and philosophy. And a lot of that philosophy was not "disregarded" in violence, but instead used to argue for violence and to defend violence. For both good and bad causes. And a lot of gains were not inertia, it was decision to take things and fight to take things from others. Not that other powers were not like that too, absolutely they were violent and entitled too.
But, the freedom rhetorics was often used to take away property or freedom from others.