Multipartite quantum correlations in the extended J1–J2 Heisenberg model