Cancel lpm mode if tklock is removed

When lpm mode is enabled, mce already makes sure the tklock is on too.

Now lpm mode is disabled too if tklock gets removed for some reason.

[mce] Cancel lpm mode if tklock is removed. Fixes JB#20383
Generate touch release on entry to ON/DIM display states

Now that we use the lpm display states, the touch input blocking does
not always see transition through power up state on the way to DIM/ON
and touch input can stay blocked too long after exiting lpm mode.

Now the artificial touch release is generated whenever the previous
state was something else than DIM/ON.
Merge pull request #180 from spiiroin/lpm_cancellation

Exit from lpm mode fixes