This can be easily changed in the Divi Theme Options.
Go to WordPress Dashboard > Divi > Theme Options > Navigation > General Settings
and enable the option called Disable top tier dropdown menu links. Here is a screenshot:
Disabling the link on top/parent menu item in case of dropdown menus