The tight contest to lead the State of Mexico is seen as a referendum on President Enrique Peña Nieto and the future of his Institutional Revolutionary Party.