William Law, John Wesley y el cuaquerismo