adding default product visibility filter hook

Added a filter hook ‚woocommerce_product_visibility_default’ to set the
default visibility option on new products.