Driven by corruption and patronage, the killing of municipal officials and local councillors is rising, eroding democracy and accountability