SF: Update transform hint when reparenting layers

A layer might be reparented to another display. When that
happens, update the transform hint for the layer.

Also, use the correct display when creating a layer.

Bug: 251360251
Test: move app between displays, rotate, check final buffer transforms
Change-Id: I742c15319d09804a5d7a4c1aac383893d7a67d53
1 file changed