Characterization of digraphs with three complementarity eigenvalues