meta-input-settings: fix device list iteration
Dereference the loop variable rather than the original list head. This fixes a regression introduced in 4413b86a ("backends: Replace ClutterDeviceManager usage in favor of ClutterSeat", 2019-10-04) which broke button scrolling with trackballs.
Closes:#1120 (closed)