Leader of far-right libertarian party predicted to come up short in September vote is expected withdraw from race in exchange for eased cannabis restrictions and a cabinet post