I would not take that risk. There is no record on the Qatari computers that your wife (with her new name) have a valid visa or RP. And I doubt that the airport immigration staff are authorized to make a link between the two passports based on the photo only.