get the inverse of lerp(x0, x1, t), which is to say: find the UnitInterval parameter t, given a scalar number x in the closed interval [x0, x1]