TextInputWidget: Determine validity on blur and change.

Also allow all InputWidgets to be flagged.

Bug: 70957
Change-Id: I693a8bc9631eeef270b8bbe3b0d585ff14482b8e
Merge "TextInputWidget: Determine validity on blur and change."