Plato's views on government, and condemnation of democracy are quite clearly laid out in the Republic.
Kant writings have plenty to say about freedom vis-a-vis government, state power, rights of property, revolutions, warfare.
None of these great minds existed in an apolitical, unbiased vacuum, where they could devote themselves to nothing but free thought.
When it comes to education, my impression is that people use the term 'apolitical' to describe political opinions that happen to align with their own. Hence, Hobbes and Locke are apolitical - whereas feminist philosophy so frequently is. Adam Smith? Apolitical. Karl Marx? Political.