Accurate Determination of Relativistic Effects in Atoms by Quantum Annealing