Update class-wc-product-variable.php

Function get_available_variations is not validating if the variation is visible, resulting in disabled and out of stock variations showing.