In the election fight between environmentalists and oil money, this Texas town went green