Let the function defined by the equation:
$$ g(x) = x^2 - 4x + 5 $$
If you input a number into the function $g(x)$, what is the output when the input is $2$?