Wheat was bred for certain characteristics. People picked out wheat stalks that produced more food than average, and bred those. With each generation, more food was produced, so humans had an incentive to continue breeding wheat into what it is now. Its a matter of artificial selection, rather than Lamarkian evolution.