k8s: Consolidate check for EndpointSlice support
k8s: Consolidate check for EndpointSlice support

When v1 support for EndpointSlice is checked, the capability for the
base EndpointSlice support is also toggled, therefore we can consolidate
the logic inside the support helpers. It's not possible for one variant
to return true and the other false, and vice versa.

Fixes: 5ee4c6f4d1 ("add support for EndpointSlice V1")

Signed-off-by: Chris Tarazi <711c73f64afdce07b7e38039a96d2224209e9a6c@isovalent.com>

tklauser/cilium,tgraf/cilium,michi-covalent/cilium,cilium/cilium,michi-covalent/cilium,cilium/cilium,tgraf/cilium,tklauser/cilium,cilium/cilium,cilium/cilium,michi-covalent/cilium,tklauser/cilium,michi-covalent/cilium,michi-covalent/cilium,tgraf/cilium,tklauser/cilium,tgraf/cilium,tgraf/cilium,cilium/cilium,tklauser/cilium,tgraf/cilium