A matrix-weighted zeta function of a graph