QED treatment of electron correlation in Li