input: goodbye external vars

It's a bad practice to access the extern vars instead of get functions
exported through a header file. Let's start by killing the last_input_time
on both governors and include the header.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>