Common dynamo scaling in slowly rotating young and evolved stars