First Determination of the Distance and Fundamental Properties of an Eclipsing Binary in the Andromeda Galaxy