$B$-anomalies in a twin Pati-Salam theory of flavour including the 2022 LHCb $R_{K^{(*)}}$ analysis