Puerto Rico lawmaker resigns over failed drug test