How important is the weather stripping on the inside of a Velux skylight?
Nothing on the inside like that would have any purpose related to water entry; if the water got that far in, there would already be damage. That is, at best, just draft and heat loss, but most likely it's just cosmetic. I would just glue it back in place.