Optimized perturbation theory applied to factorization scheme dependence