input: Import gpio_input & gpio_event from CAF kk_2.7-stable

Fixes 2-second delay when waking the screen.

Signed-off-by: Sultanxda <sultanxda@gmail.com>