Fix KeyChord stack bug
Fix KeyChord stack bug

Changing `KeyChord.mode` to a boolean broke some functionality when
using a stack of chords where non-modal chords were not exited on a
keypress.

Fixes #3937

qtile/qtile,qtile/qtile