Optical analog of valley Hall effect of 2D excitons in hyperbolic metamaterial