MSB, such questions are obviously flawed and impermissible in legal proceedings, so there isn't a single term for them since they fail on multiple points. They are a type of leading question (A question which suggests it's own answer, which fits most yes-or-no questions), but leading questions are permissible for background or foundational matters in direct examination (One's own witness) or for most purposes in cross examination (One's follow-up questions to the opponent's witnesses).
The objection to this kind of question in court would most likely be "Objection, assuming facts not in evidence" (I.e., that the witness had ever beaten the wife at all, been masturbating in the closet, or whatever). On a more extended level, depending on the circumstances, it sounds like the situation you're talking about might also be asking for proof of a negative, which is a logical fallacy.