CORN: Contact-based Object Representation for Nonprehensile Manipulation of General Unseen Objects