Final Result of the MAJORANA DEMONSTRATOR's Search for Neutrinoless Double-$\beta$ Decay in $^{76}$Ge