Anomalous enhancement of charge density wave in kagome superconductor CsV3Sb5 approaching the 2D limit