Gravitational two-body problem with acceleration-dependent spin terms