Console Render Bug caused by touch drag event

With starting the console the touch drag event is active without even touching the display.
This causes to render the console at any time it is displayed, which consumes alot of battery and heats up the device.
What the patch does is resetting the touch drag state to ensure it is only re-rendering the console when it it really needed.
Do not render the GUI when the blanktimer turns off the display.

Normally, when the display has been turned off by blanktimer, the GUI actually still renders the GUI elements (eg. progressbar while doing backup/restore/etc.)
This patch will check whenever the display is turned off, and if it is turned off simply dont render. This avoids heating up the device and will save battery.
Merge changes I0d9133d6,I10355093 into twrp2.5

* changes:
  Do not render the GUI when the blanktimer turns off the display.
  Console Render Bug caused by touch drag event