Generalized-hydrodynamic approach to inhomogeneous quenches: Correlations, entanglement and quantum effects