Gravitational waves and primordial black holes from chirality imbalanced QCD first-order phase transition with $\mathcal {P}$ and $\mathcal {CP}$ violation