Optimization of Flavonoid Extraction from Xanthoceras sorbifolia Bunge Flowers, and the Antioxidant and Antibacterial Capacity of the Extract