The chairman of a Leeds-based football club has resigned after “months of criticism and negativity” that saw him subjected to death threats.