Menu: Wrap menu items in a <div>

This avoids styling issues where ui-state-focus rules apply to submenus.

Fixes #10162
Closes gh-1342
Autocomplete: Re-add wrappers to menu items
Selectmenu: Re-add wrappers to menu items