Appeals court: It was OK for trooper to lie about reason for traffic stop