Antigen availability shapes T cell differentiation and function during tuberculosis