Constraining cosmology with weak lensing voids