InputWrapper: opt out early if session == null

Change-Id: If111195ba6425ad6b8663601566f9f260738ec77
Merge "InputWrapper: opt out early if session == null" into pac-4.4