Is it true that if a ritually impure, or a menstruating woman visits one who is in confinement, harm will be inflicted on the latter, or her baby?
This is completely wrong and unfounded piece of information.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
What is the ruling of Sharia on male doctor delivering a baby?
All perfect praise be to Allah the Lord of The Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
The person most entitled to deliver a baby is a Muslim woman, then a woman from the People of the Book, then a woman from the disbelievers, then a Muslim man, then a man from the People of the Book. However, if there was no woman to deliver the baby, then it is permissible for a male doctor do deliver it. And Allah The Almighty Knows Best.
Does bleeding from the body, such as from wounds, invalidate ablution?
Bleeding doesn't invalidate person's ablution. And Allah Knows Best.