Textinput: Only _destroy() clearButton when present

Fixes gh-7567
Why is this in its own iife?