Magnetization-dependent Rashba splitting of quantum well states at the Co/W interface