Refactor: libstonith: Remove notifications in stonith_api_free()
If the API client is connected, remove its notifications before
disconnecting and deleting it. That way the notifications get
unregistered from the fencer in addition to destroying the client's
callback tables.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>