Fix display orientation handling

- Apply the orientation compensator before the filter. Otherwise, we
  won't tend to identity, but rather to a rotated frame, which is
  incorrect.
- Enable rate limiting when orientation changes, but only when a new
  world-to-screen pose arrives. This makes sure that rate limiting is
  applied at the point of discontinuity regardless of the order of
  operations.

Test: atest --host libheadtracking-test
Bug: 188502620
Change-Id: I58e1c3807f875ae2735e65122a3ffb8483bde2a3
3 files changed