A class of differential hemivariational inequalities constrained on nonconvex star-shaped sets