We first simplify the integral by a substitution and then convert the integrand into a power series as below: $$ \begin{aligned} \int_{0}^{\infty} \frac{x}{\cosh (ax)} d x & \stackrel{ax\mapsto x}{=} \frac{1}{a^{2}} \int_{0}^{\infty} \frac{x}{\cosh x} d x \\ &=\frac{2}{a^{2}} \int_{0}^{\infty} \frac{x e^{-x}}{1+e^{-2 x}} d x \\ &=\frac{2}{a^{2}} \sum_{k=0}^{\infty}(-1)^{k} \int_{0}^{\infty} x e^{-(2 k+1) x} d x \end{aligned} $$ Using integration by parts, we have $$ \int_{0}^{\infty} x e^{-(2 k+1) x} d x=\frac{1}{(2 k+1)^{2}} $$ Hence we can now conclude that $$ \begin{aligned} \int_{0}^{\infty} \frac{x}{\cosh (a x)} d x &=\frac{2}{a^{2}} \sum_{k=0}^{\infty} \frac{(-1)^{k}}{(2 k+1)^{2}} =\frac{2G}{a^{2}} \end{aligned} $$ where $G$ is the Catalan’s constant.
Are there methods other than power series?
If you enjoy polylogarithms, let $x=it$ $$I=\int x \,\text{sech}(x)\,dx=-\int t \sec (t)\,dt$$ which, I think, you already solved.
Back to $x$ $$I=-i \left(\text{Li}_2\left(-i e^{-x}\right)-\text{Li}_2\left(i e^{-x}\right)+x \left(\log \left(1-i e^{-x}\right)-\log \left(1+i e^{-x}\right)\right)\right)$$