Schottky via the punctual Hilbert scheme