Single-Port Coherent Perfect Loss in a Photonic Crystal Nanobeam Resonator