Higher cross-ratios and geometric functional equations for polylogarithms