Superbubble dynamics in globular cluster infancy. I. How do globular clusters first lose their cold gas