No manufacturer or wholesaler shall enter into any contract with any person licensed to sell at retail whereby such licensee agrees not to sell any alcoholic liquor manufactured or distributed by any other manufacturer or wholesaler. Any provision in any contract which violates this section shall render the entire contract void, and no action shall be brought on such contract in any court.