A new family of first-order boundary conditions for the Maxwell system: derivation, well-posedness and long-time behavior