Transmission and transformation of entangled states with high fidelity in a non-Hermitian system