You can use it in the second sentence because dinner will be already finished when you will go to cinema.
So even if you will go tomorrow which is in the future, the dinner will be in the past in relation to the moment when you will go to cinema. So "le" is expressing the relation between having dinner and going to cinema.
Btw. what movie you will see? ;-)