Unify the element status check
Micro-optimize the `Controller::isVisibleElement()` method
Hide forward pages if they point to unpublished target pages (see #6376)