I can`t afford to get married, what should I do to curb my sexual drives?
You should offer a lot of voluntary fasting, keep busy with useful and permissible acts and make supplication to Allah, The Exalted.
Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty 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.
Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.