A natural O-ring optimizes the dispersal of fungal spores