Casimir forces between defects in one-dimensional Fermi liquids: influence of resonant tunneling