The spatial evolution of young massive clusters: II. Looking for imprints of star formation in NGC 2264 with Gaia DR2