Many-body enhancement in a spin-chain quantum heat engine