I'm fairly sure that if the room is in your name, and you're there at check in, then asking at checkout to use your wife's card won't prevent you from getting the points. But if you want to be sure, have your wife use her credit card to buy Bonvoy gift cards, then you can use those to pay.