preflight: Refactor CCNP wildcard check
preflight: Refactor CCNP wildcard check

This is a non-functional change to move the validation check to a
separate function. This is a preparatory commit for future validation
checks to be added.

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

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