Lithium evolution in metal-poor stars: from pre-main sequence to the Spite plateau