John Kerry held his granddaughter as he signed the book during the signature ceremony for the Paris Agreement