Button: Fix `checked` prop on button's input not always applied correctly

Fixes #14137

This fixes it properly rather than just reverting 4b40ee6.

/cc @cvrebert @fat @Kolyunya @pixelchutes