Steam. Valve distributes its own demos through the Steam storefront, so search for Left 4 Dead 2 there and look for a demo download button on the store page.
Demo availability is intermittent. Valve has put it up and taken it down, sometimes tying it to sales or events, so if there is no button at the moment, the demo is probably not currently live. Adding the game to your wishlist gets you notified when that changes.