This used to happen to me fairly often when I was sparring, I would start getting frustrated, pushing myself, and then I would get that wheezing/ inability to breathe properly that you are describing. Not sure what it is, but i noticed that observing proper breathing and body mechanics in addition to keeping a cool head made it stop happening.