qscintilla2: add Python 3 support

Closes #26601.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>