wayland: fix key repeat bug
wayland: rework epoll handling

Simplifies some functions and structures. Also use different name for tasks
because this could create conflicts with other backends.

This uses epoll_fd now instead of display_fd. This change fixes a key repeat
bug while pausing.