US lawmaker resigns after conviction of lying about campaign donation from Nigerian billionaire