Generation of perfect-cavity-enhanced atom-photon entanglement with a millisecond lifetime via a spatially-multiplexed cavity