[wpa_supplicant] Set the OWE only flag when KeyMgmt set to OWE

When manually configuring an OWE network as hidden, the phone
connected to an Open network with the same SSID.
Setting the OWE only flag when the key managemenet is set to OWE.

Bug: 169472668
Test: Manually configure GoogleGuest as Enhanced Open and hidden,
verify that the phone does not connect.

Merged-In: Ic793e09ed69156c3e28f859317375693c521a641
Change-Id: Iea2faf080b33ee798483592d7380f461810809de
1 file changed