Valley-dependent spin-orbit torques in two-dimensional hexagonal crystals