Fluorescence-based optical sensor and method for detection of lipid-soluble analytes