Renormalization group analysis of the interacting resonant-level model at finite bias: Generic analytic study of static properties and quench dynamics