Large-scale dynamos in rapidly rotating plane layer convection