kms: call LeaveVT on shutdown
It's important that LeaveVT is called on shutdown, since the X server will leave the current vt on shutdown.
This commit adds the required call, and fixes some confusion when one X server is starting at around the same time another X server is shutting down.