Convectively driven dynamo action in the quiet Sun