Fixing this bug requires new API (virDomainGetState) to be added to libvirt, which is not something we can do by backports. We can only add new API by rebasing to a newer version of libvirt which includes that API.
As Jiri pointed out, the fix for this problem required new API, and so we will not be able to fix it in 5.8.