Is there a REST endpoint for getting the logout token?
It appears this does not currently exist. I just created a patch for core. Please review it and make suggestions if you have a chance. https://www.drupal.org/project/drupal/issues/3004421

I will edit this answer if any progress is made with the patch.