A Gross-Zagier formula for a certain anticyclotomic p-adic L-function