WICKET-4959 Unproperly detached Behavior with TabbedPanels

Stop the Ajax timer behavior when the behavior's component is removed from the tree
Move the check for non-null earlier in the method body. It would throw NPE in #checkHierarchyChange() otherwise.

Use Args.