Law firms with public advocacy businesses in the Beltway have seen their revenues buoyed by a volatile midterm season in what otherwise would have been a quiet time while Capitol Hill braces for November elections.