XPrompt:Explaining Large Language Model's Generation via Joint Prompt Attribution