I asked an actual midwife herself today what you call a male midwife, or if there was such a thing. She said yes, there were, and the term was correct.

As Dorcas commented, “midwife” goes way, way back, and the “wife” in it refers to the expectant mother. Something like that anyway.