Labour will need a different leader if it pursues a policy of rejoining the EU customs union or single market