run-demos: Add -w argument for 'wait' command

When executed with the -w or --wait argument, run-demos.sh will wait
until the user closes the current demo before starting the next, rather
than killing the demo process after a set amount of time.