A geometric construction of Getzler's elliptic relation