Is it a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.
Is it permissible to give to the poor from among the People of the Book from the Udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
It is permissible to give to the poor among the People of the Book from a voluntary sacrifice (uḍḥiyyat taṭawwuʿ), just as it is permissible to give charity (ṣadaqah) to them. This opinion is a view (wajh) within the Shāfiʿī school, which was favored by al-Muḥibb al-Ṭabarī and Imam al-Nawawī. [See: Ḥāshiyat Ibn Qāsim al-ʿAbbādī ʿalā Tuḥfat al-Muḥtāj (Vol.9/P.365)]. And Allah Almighty knows best.
Is the one offering the sacrifice liable if its meat spoils?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
If the meat (of the sacrifice) spoils due to the negligence of the one offering the sacrifice in preserving it, or due to improper storage, then he is liable to compensate for the portion due to the poor (which is estimated as half a kilogram of meat). If the sacrifice was a vowed (mandatory) one, then he is liable for all of it.
However, if he was not negligent, then there is no liability upon him, because its ruling is the ruling of a trust (like an item left in someone's care). And Allah Almighty knows best.
Is it permissible for a wife to refuse to go to bed with her husband (for sexual intercourse)?
It isn`t permissible for her to do so unless for a sound reason.