cylc gui: fix early start bug

This fixes a bug where a very quick launch of `cylc gui` at the beginning of a very large suite can leave it in an error state. This is because it interrogates the daemon before the daemon has got around to assigning all the Pyro objects.

@arjclark, please review.