Pretraining a Unified PDDL Domain from Real-World Demonstrations for Generalizable Robot Task Planning