Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
Is a wife considered divorced if her husband refused to go to bed with her (for sexual intercourse) for two months?
A wife doesn`t get divorced no matter for how long her husband refuses to have sex with her, and she had better go to court.
Someone wiped over his shoes after wearing them in a state of purity, then took them off and prayed without them?
Ablution is not invalidated by taking off leather socks or shoes after wiping over them. However, whoever takes them off after wiping must wash his feet only. If he prayed without washing his feet, he must wash his feet and repeat the prayer. And Allah the Almighty knows best.
Is it a condition for the mosque where I‘tikaf is performed to hold Jumu‘ah prayers?
No, it is not a condition for the mosque where I‘tikaf is performed to have Jumu‘ah prayers. However, if a person vows to perform continuous I‘tikaf, and Jumu‘ah occurs within that period, then they must observe I‘tikaf in a mosque where Jumu‘ah is held so that they do not break their continuity by leaving for Friday prayer.