Harmonic Analysis on Local Systems on Graphs -- Towards a Gross-Zagier Formula on CM-cycles over Shimura Curves