Dynamical breaking of CPT symmetry in defect networks and baryogenesis