How many Rak`ahs (unit of prayer) are offered in Witr prayer?
All perfect praise be to Allah, The Lord of The Worlds Witr (an odd number prayer performed between Isha`a and Fajr) is offered with a minimum of one Rak`ah, and a maximum of eleven, but offering three Rak`ahs is the minimum of its complete form. And Allah Knows Best.
Is it permissible for a husband to stop his wife from visiting her family?
A husband shouldn`t stop his wife from visiting her family, and it is disliked for him to do so because such an act makes them harbor feelings of hatred against him.
What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
Does Husband fasting while being impure for having sexual intercourse with his wife at night permissible?
Yes it is permissible for you to fast because impurity isn't among valid fasting conditions, but you are obliged to perform ritual impurity in order to catch up Fajr prayer at its due time. And Allah Knows Best.