VIENNA — Austria’s highest court on Friday overturned the result of the May presidential election and called for a rerun, a legal victory for the far-right candidate who lost by a razor-thin margin.