Strong coupling between an electron in a quantum dot circuit and a photon in a cavity