Fix build on pure wayland platform

- add display type option build flags to distinguish x11 and wayland
- add wayland method to retrieve the screen size in System_info API.

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>