The wife of a colonial magistrate became a key player in Mexico's War of Independence from Spain.