login: add an api to determine the slice a PID is located in to libsystemd-login