If you put a womb into a man, that's not a transplant, it's an implant. It's not replacing one organ with another like it.
Where is the blood supply going to come from? It's not just an organ implant, then: it's a replacement circulatory system.
Then, how do you regulate the menstrual cycle? Okay, let's replace the hypothalamus while we are at it.
So, new womb, new circulatory system, new brain. We are pretty much in Trigger's Broom country now with most of the original human being replaced.
And for what? The ova belong to the womb donor so any kid produces is genetically hers, not the transwoman.
So you'd have to replace the nuclei with those of the host. But that would mean any fertilised egg would carry two sets of paternally imprinted genes.