Subdomain dynamics enable chemical chain reactions in non-ribosomal peptide synthetases