Type-II quantum spin Hall effect in two-dimensional metals