It looks like there is actually active development being done on introducing this very feature. It looks like a decision was made to introduce an item-specific style object. Once this code is in place, you should be able to use the component’s onSelect
Event to then set the appropriate item’s style to your “selected” appearance.
Please follow the [Feature-14071] Menu tree Itemstyle css per item thread for more updates around this functionality.