MMD-B-Fair: Learning Fair Representations with Statistical Testing