Deformed Virasoro algebra at roots of unity and the Temperely-Lieb algebras