Fix char values for wx and tk Python widgets
The numerical values for 'char' must be within the range [0,127], or else the Python wrappers raise a TypeError when the interactor SetEventInformation methods are called.
Closes #18950 (closed)
Backport: release