Learning Hierarchical Domain Models Through Environment-Grounded Interaction