Broadband waveguide quantum memory for entangled photons