Sealing foundation blocks and gap between drywall
For the exact reason you touched upon you don't want to bring those two components together. The drywall will leach water from the concrete, breaking it down and creating stains. 

Instead, finish each separately with appropriate paint and use a plastic T-molding or other transition to cover the seam. I'd consider using the epoxy that I see on your slab to do the block.