Generate a rotation seed for a given (layer, head, position) triple.
Uses a simple hash combining function to produce deterministic seeds that are well-distributed across the seed space.