You need a simple diode "pointing" to the hub from the computer on the host(?) cable. That should solve your problem.
However, with all diodes, they have voltage drop across the connection. I don't know if that is going to be a problem. I don't think it should, since the hub is going to be recieving data over the data lines, not the 5 volt line.