Probably the feminine present participle of medein, "to protect, rule over" (American Heritage Dictionary; compare Medon, Medea, Diomedes, etc.). If not, it is from the same root, and is formed after the participle. OED 2001 revision, s.v.; medein in LSJ.