Real spectra for the non-Hermitian Dirac equation in 1+1 dimensions with the most general coupling