Man gets life in prison for stabbing policeman at airport