German lawmaker resigns over mask scandal