Ahh yes of course, and right after the turbolift doors closed, Scotty corrected Geordi, "Ackshully laddie who's to say I dinna invent the bloody thing *wink*". Really one of the worst kind of retcons. All to have a holodeck episode of all things.
Everybody on the Ent-D was in awe of the Holodeck, and not just in a "wow can you believe we have one of those holodecks just like on earth or at a big space station" kind of way. Not to mention LaForge was talking to an elderly Scotty, so holodecks had to be a thing for like 40+ years of his life at that point. Which would just makes LaForge look like a fool. It would be like if you found a dude that was stranded on a desert isle since the 1990s, took him back home to Los Angeles, and was like "BEHOLD, THE HORSELESS CARRIAGE" as you gestured maniacally at a Toyota Corolla.
I mean, if the technology was shelved after this and then brought back at a later date it wouldn't be known to everyone and everyone still could be amazed with it. Someone in this thread talked how certain things were invented in real life well before they were actual commonly used, such as air conditioners.
That was me. In addition to Air Conditioning (1850s to 1940s) and the Electric car (1880 to 2000s), there is also:
the Fax Machine: 1843 to 1964
The Touch Screen: 1965 to 2007
Rollerblades: 1819 to 1980s
Video calling: 1964 to 2000s
The Washing Machine was in development for centuries before being perfected by the 1950s.