Cavity enhanced measurement of trap frequency in an optical dipole trap