I hate to say it, but if Cameron gets the most seats he should be prime minister.
If Cameron can't get enough support to pass his Queen's Speech then he has no mandate to be PM. This is how our system works and that is the system that Cameron himself has opposed change to.