client API: fix mpv_wakeup()

Of course this was going to get stuck in the retry loop.

Fixes #1372.