Use the ID returned by the timeout registration for deregistration and trigger detection. This avoids conflicts with other users of kidletime. (cherry picked from commit 9d358eeb)