Generalizable Hierarchical Skill Learning via Object-Centric Representation