Probing a $$\textrm{Z}^{\prime }$$ Z ′ with non-universal fermion couplings through top quark fusion, decays to bottom quarks, and machine learning techniques