Perturbative couplings and modular forms in N = 2 string models with a Wilson line