libinput: Change added_device event to synchronous new_device callback

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
libinput: Set output screen size instead of using callback

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>