Use a weak pointer to the KTE::View the assistant is shown in

This fixes a crash when the view the assistant previously belonged to
is closed.
BUG:332320
only stop the hide timer if the new assistant has any actions