InputMapper refactor: RotaryEncoderInputMapper

Add a factory method for RotaryEncoderInputMapper to be configured on
initilisation

Test: m checkinput && atest libinput_tests inputflinger_tests
Bug: 256009910
Change-Id: I9b2c9409e98f5a8fa389538bb99c4c9c10d780a5
(cherry picked from commit f224f62b67d47aa1d675f4274b3e2389c3b7589a)
2 files changed