Entanglement dynamics and chaos in long-range quantum systems