Why is WLED_SW connected to supply
It is not clear what you asking. WLED_SW is the switch pin of the converter for switching external inductor. That is exactly what it is there for - to switch an inductor, which is part of the boost circuit. The buck circuit has its own inductor and capacitors.