Leave Apple Magic Trackpad 2 plugged in charging?

You should discharge your battery about once a month to recalibrate it. Other than that there should be no downside to keeping it plugged in. The battery charging mechanism is smart about not overcharging it.

See this page by Apple: Why Lithium-Ion?