I suffer from absentmindedness and constant worries during prayer, what should I do?
You should take refuge in Allah from the whispers of the devil and life worries. You should also seek Allah`s help and offer a lot of Istigfar (seeking the forgiveness of Allah). And Allah 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.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is it permissible for the guardian, or the father of the child to hit the latter in order to teach him/her good manners?
It is permissible for the guardian to hit his/her child for teaching them good manners once they become ten years old provided that it is done mildly, harmlessly and without intimidation. Actually, such punishment is to be employed gradually i.e. after: asking, warning, and scolding. As for the teacher, he isn`t allowed to hit the student unless the latter`s father approves of it, and it is done according to necessity without intimidation, or harm.