WICKET-5471 Store the page if it is known that it will be used in a following request

Better fix.
The page will be touched (i.e. stored). But it won't be initialized unless really used because setStatelessHint(false) is called as well.

(cherry picked from commit 3fca3415b46af58591463c7a1c8843c0e9f894ac)