Entanglement Phase Transition Induced by the Non-Hermitian Skin Effect