Equilibrium in abstract political economies: with an application to a public good economy with voting