The battery will wear faster when you deplete the full charge and have to burn a recharge cycle due to power-hungry applications or set the display so very bright and the charger can’t keep up. Duet may be such an application. You can see this in the battery settings for iOS clearly, so it is easy to manage.
It has minor negative impact on the battery life if you keep the Lightning cable in plugged in all the time. Every three months, make sure you drain it to half capacity and consider leaving it that way for a week or so if possible.
However, use the original 12 Watt USB power adapter and a certified Lightning cable for your safety, especially if you leave the iPad unattended.
General tips to increase your iPad's battery life
Terminology
Battery cycles
When you use your [device], its battery goes through charge cycles. A charge cycle happens when you use all of the battery’s power—but that doesn’t necessarily mean a single charge.
For example, you could use half of your notebook's charge in one day, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not two.
Source: Apple, emphasis mine
Battery wear/degradation/condition/health
The more you use a battery the more its capacity will reduce over time. This is sometimes called 'battery wear'.
Battery degradation can have different causes. Using a device so often that you need to re-charge it daily from 0 to 100 % will lead to a high battery cycle count. The chemicals in the battery will store less energy after each cycle.
The battery condition can give you a hint how much of its original capacity a battery can hold. It may be ok for a battery to retain about 80 % of its original capacity after 1000 full cycles. If you have a new device with the same low battery condition (80 % capacity) something may be wrong with your battery. This can be caused by faulty battery or a few cells within your battery that are not working.
Battery condition is sometimes called battery health.