Update monkey injection code to use ui::Size

This type is now being used in libinput. We have to keep monkey
in sync with this new API surface.

Bug: 439992405
Test: m
Flag: EXEMPT PURE_REFACTOR
Change-Id: I8c1894a5b4a5a1af492d7e6f529aeddedd7999be
1 file changed