This has been bugging me for a while, if islam doesn’t discriminate between the rights of husband and wife, why is it that a wife cannot refuse to have intimacy with the husband whereas a husband can refuse intimacy for 4 months? Also, why can’t the wife leave the house without the husbands permission?

Islam is a holistic package and there's absolutely no discrimination by Allah swt to both the genders. it is wajib upon the husband to fulfill the rights of his wife and vice versa. This subject needs independent discussions and needs time to share these thoughts and I can't discuss all here. A woman only needs to seek permission from her husband just for the sake of her own protection if she goes out so that husband is aware of her know abouts. There is a deeper philosophy in this matter. There's no discrimination.