Probing multipartite entanglement in spin chain via structure factors