You should select from tags table joined with blog (inside Tags repository), like this:
$blogTags = $this->createQueryBuilder('Tags')
->select('Tags.id')
->leftJoin('Tags.blog', 'Blog')
->where('Blog.id = :blogId')
->setParameter('blogId', $blogId);
This will create query with all tags ids related to Blog that has Id = $blogId.