Cultural ecologies of adaptive vs. maladaptive traits: A simple nonlinear model