Phase Recognition for Pulmonary Orientation Detection: Towards Automated Intraoperative Imaging Guidance