xfree86: Only switch to original VT if it is active.
If the X server is terminated while its VT is not active, it should not change the current VT.
v2: Query current state in xf86CloseConsole using VT_GETSTATE instead of keeping track in xf86VTEnter/xf86VTLeave/etc.