The presidential candidate backed by North Macedonia's ruling party has won Sunday's election, taking 51.66% of the vote.