An entropic variational structure for nonreversible Markov chains