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