rustdoc: Make strip_hidden use a dedicated hidden item if any.

fixes #13806.