Dynamical arrest in a geometric model for the glass transition