Constify inline functions in libinput-private
Just a small refactoring — it's often great to know, whether a function modifies its arguments or not.
There's definitely more work to do, but I stumbled upon that helpers returning a pointer are break the constantness contract.
In retrospective, I think such helpers could be replaced with macros, I'll probably give it another try later.