You thought you had to flee the men's locker room at all costs, even in your WTT.
The better option would have been to get into a changing stall, and wait for a group of men or boys to show up and then tell them that you didn't have your glasses and you went into the wrong lockers and that you already put your clothes in the chute. Although you would have been smiled at, you would not have had to been naked in front of your entire ward youth.
P.S. If it makes you feel any better, I once wet my pants on the doorstep in front of a man while selling Scout O' Rama tickets as a cub scout. The guy took forever to sign over a check, and I had waited too long to run to the bathroom. Why I didn't say excuse me, and go over to a bush to pee, I'll never know.
BG