Tottenham's Eric Dier believes team-mate Dele Alli will come out of a difficult period for himself stronger, after struggling for playing time so far this season.