Optimal estimate of the spectral gap for the degenerate Goldstein-Taylor model