This can be easily changed in the Divi Theme Options. Go to Theme Options > Navigation > General Settingsand enable the option called Disable top tier dropdown menu links