Sequential generation of multiphoton entanglement with a Rydberg superatom