Fly-half Jarrod Evans says he thought his Wales career was over before being given a lifeline in the Six Nations.