Identifying User Goals from UI Trajectories