Not exactly sure what you did, but it sounds as if you pulled out the lower sections without first releasing the flip locks.
That plastic fitting is designed not to need any adhesive. It is a simple press fit that holds the ‘ cam-type locking clamps’ (flip locks, Leki calls them ‘Speed Locks’ or ‘gripper clamp’) in place with simple friction.
Here’s how to fix: 1) Release the cams (i.e. open the flip lock levers), 2) Remove the cams+plastic fitting from the lower section, and 3) slide the cam+plastic fitting back on to the upper section. It might require putting the plastic fitting on the floor (on carpet would probably be a good idea) and using a little body weight to carefully force it back in, and 4) with the cam levers still open, slide the lower section back into the upper section.
In the future, release the flick locks before trying to adjust the length! :^)
Use those little knob thingies on the flip locks to increase the holding friction of the lower sections, if necessary, by turning them clockwise, or counterclockwise to reduce friction and make the levers easier to close. Leki instructions HERE.