Edge-entanglement spectrum correspondence in a nonchiral topological phase and Kramers-Wannier duality