remove db hit in nav_menu_item_parent_classing()

refactor `nav_menu_item_parent_classing()` to use property on parameter
`$item` in place of performing a database call to determine if a menu item
needs the class `.has-dropdown`

This has sped up the rendering of pages with menus based on my tests with [Query Monitor](https://wordpress.org/plugins/query-monitor/)