You know usually they call the gift that keeps on giving umm herpes. LOL.
Seriously, I just can't see you getting an infection from the situation you sited above. Maybe a reaction if you are allergic to latex, but that's about it and the only thing I could think of.
Last thing. As a medical professional I can absolutely promise you beyond a shadow of a doubt that the medical professional in your story did NOT carry around a dirty glove in her pocket, I'm even more positive that she didn't even put a dirty glove in her pocket. We never would do that because it's so nasty. If we have a dirty glove or anything else dirty we either put it in the trash or we drop it on the floor truth be told, but our pocket, no way in hell my friend, sorry.