Hook when post is set from published to draft?

Yes, these are probably the right calls to use for what you want.

I just checked this by adding this to my functions.php:

add_action('publish_to_draft', 'doStuff');

function doStuff() {
    update_option('foo', 'bar1');
}

Then using the quick edit in the posts list to change a published post to draft, and this hook definitely ran at that point and set this option in the database.

Note that if you echo something from this hook, or expect to see something output to your browser you likely won’t see it, and you might cause an error as this might be being called via an ajax type call.