Add missing update_capabilities and libinput capabilities handling

This was mistakenly left out of 1c1c5a8bcab4f6eae005e2ae82169ae3ee5209af.