InputMapper refactor: CursorInputMapper

Add a factory method for CursorInputMapper(s) to be configured on
initilisation

Test: m checkinput && atest libinput_tests inputflinger_tests
Bug: 256009910
Change-Id: Id789ff890b7e147de16c07a9dcd095a21eba43f9
(cherry picked from commit e036ad77ed50cbd0b908cb7304ce5e9539f06d8f)
4 files changed