modified vm state --wait-port to use vm.guest.ipAddress

The current --wait-port option presumes that the vm name is a also a resolvable hostname which is often not the case.  This commit aligns the --wait-port option with the rest of the "vm state" command by using the vm object to query for an ip address.