Proteolytic processing induces a conformational switch required for antibacterial toxin delivery