45 states have sore loser laws that means if you were on the ballot for one party, can’t be again. In 2012 Gary Johnson was left out ballot in MI for this, went to court, court upheld the law.
The US Constitution sets out the qualifications for the office of President. It is the Supreme law. No State law can change the qualifications including the sore loser ones you allude too. They are all preempted by the Constitution and meaningless.