A former public school hockey coach accused of murdering his wife was unhappy about their lack of sex, his mother-in-law has told a jury.