Guanajuato, an industrial and farming hub, has for years had the highest number of homicides of any of Mexico's 32 states.