Semiclassical Einstein equations from holography and boundary dynamics