Two-dimensional charge order stabilized in clean polytype heterostructures