sd-login: add a public accessor for the VT number

The VT number was already part of the DBus API, but was not
exposed in the C API.