Pan-African pledge to restore forests by planting 100 million hectares of trees wins $1.5bn backing