Welcome to HCM,
Rabies is not sexually transmitted. The doctors are right to tell you to take anti rabies vaccine
as soon as it is available (within 24 hrs if possible). I hope they have taken care of your wound appropriately.You do not have to worry that you will transmit the infection to your wife.