Sortase-assembled pili in Corynebacterium diphtheriae are built using a latch mechanism