Conservative leadership candidate Kemi Badenoch has said she does “believe in maternity pay” after previously describing it as “excessive”.