Global solutions for a chemotaxis hyperbolic-parabolic system on networks with nonhomogeneous boundary conditions