Nonlinear mode competition in a lasing nanoplasmonic metamaterial