Photon-efficient quantum key distribution using time–energy entanglement with high-dimensional encoding