1. is an instruction to discontinue the act of competing. 2. is an instruction to discontinue some other act in order to start competing.
2 actually implies "Stop [in order] to compete". I think the rule is that only linking verbs or modal auxilliary verbs can take infinitives. "Stop" is not such a verb, so it can't take an