Marginal tax rates drive choices about investment portfolios, Roth accounts, side gigs and charitable donations. Here’s how to calculate yours before you make any moves.