Someone bright and capable can do very well in midwifery and go on to earn well in senior specialist / management roles as well, though perhaps not as well as an obstetrics consultant. There is a lot of academia to be done in midwifery and also increasingly senior / responsible clinical roles - there is no risk of not being adequately intellectually challenged.
I think the higher pay in clinical roles is the main reason to go for medicine. For example, you might find a midwife consultant is doing a similar clinical role to a fairly senior obstetrician but they wont be paid as well for it and they cant access the same kind of locum opportunities. Obstetric trainees even at SHO level will be earning better than most of the shop floor midwives they work alongside.
It is also easier to have your qualifications recognised and work in a senior clinical role in other countries as a doctor than as a consultant midwife / advanced practitioner as some of these roles are not recognised elsewhere. If that is a factor.
If being the boss / ultimate autonomy in a clinical role is also important then that's probably easier to achieve through the medicine route but it's not as though senior midwives are powerless or just do as they're told(!!!). That said I think sometimes nurses are kind of treated like morons relative to doctors and that must be frustrating, especially if the clinical hands on stuff is what you really enjoy. Doctors are trusted more to just go and learn how to do stuff under supervision and then fairly quickly crack on. But even for low risk tasks / procedures midwives have to do ridiculous over the top logbooks of being watched 100 times etc. I also feel like midwives are more likely to be bullied, blamed and scapegoated than doctors, which isn't insignificant.
However, comparatively the medicine route is a long hard brutal and very expensive slog. Realistically it's 15+ years and a 5/6 years of that going unpaid and accumulating substantial student debt. And at least 2 more years working jobs you don't like as much / haven't chosen that mostly won't even be in obstetrics. And obstetrics training like all medical "training" is more or less absolutely shit. Just being thrown into the fire wherever they send you every 6-12 months, usually working 2 people's jobs and feeling like you're letting everybody down all the time even though you're giving it 200%. Nearly everyone works LTFT and/or takes breaks because it's so intense, but that can make training even longer. That said, being a midwife is hardly a barrel of laughs but I suppose you have a bit more freedom sooner in what direction to take your career. Medicine is much less flexible, you can't just change tack the way you can in nursing careers.
My advice would be, let your daughter decide. If you are going to encourage or nudge her, only do so to get her to do as much research as possible, ideally speaking to people who are in those roles.