libvirt-machine-props: Only connect to running displays

If machine is not on, there is no point in trying to connect to its
display as that wont work and it will only result in warnings on the
console.