Persistent order due to transiently enhanced nesting in an electronically excited charge density wave