Quantum defect orbitals and the Dirac second-order equation