Generalized Wentzell boundary conditions and holography