Maximal atom–photon entanglement in a double-$$\Lambda $$Λ quantum system