Entanglement spreading after a geometric quench in quantum spin chains