DPIC: Decoupling Prompt and Intrinsic Characteristics for LLM Generated Text Detection