Emergent magnetism in irradiated graphene nanostructures