There is no hard time prior to scheduled departure for when the doors close. The LX hub operations center keeps an eye on various factors to determine how long a flight should wait for connecting passengers. Generally speaking, they try to enable as many tight connections as possible.