No, libspotify does not provide remote control or access to the Spotify desktop client. It's for writing a standalone client using the Spotify service.
If the user is scrobbling from Spotify to Last.fm, you may be able to use the Last.fm API to find out what they're listening to.