Excited-state intramolecular proton transfer in a bioactive flavonoid provides fluorescence observables for recognizing its engagement with target proteins