From your text I can not determine if your team lead is just incompetent or it´s trying to undermine you to take credit for your work. In any case, if you quit, he will cash on it.
In my opinion you should cool down as much as you can and then go and talk with the founders, but without taking anything personally.
In my opinion you should cool down as much as you can and then go and talk with the founders, but without taking anything personally.