keytest.py: Allow for LyX window to appear without timeout

Timeout for lyx-process to appear may be significantly smaler.
5 sec. looks sufficient, while lyx-window may take some time
due to configure.py.