Neither rotary encoders or buttons(or switches) require any "real" current, so it should be fine.
It does depend on the length of your wiring, but as it's not a structured signal like ethernet(which, even with twisted pairs, isn't recommended over aluminium), interference/crosstalk/loss shouldn't be an issue.
I'd say if it works reliably with the cable you have, don't worry about it.