Fix #19472: [Left]/[Right] from more element types

Fix #19472

Implements "next-chord" / "prev-chord" / "next-measure" / "prev-measure" actions not only from notes/chord-rests but from any element whose parent is a note, a chord-rest or a segment as: accidentals, articulations, bar lines, clefs, figured bass, lyrics, key and time signatures, images and symbols, some texts and so on.

"next-chord" moves to the parent note (or the topmost chord of the parent segment and to the topmost note of the parent chord) of the element; the other actions move from there.

Not implemented for elements attached to a whole staff or system, like boxes or breaks.