Dual-Path Stable Soft Prompt Generation for Domain Generalization