Quantization conditions and the double copy