Visa and Mastercard are planning to raise swipe fees for some types of credit-card purchases in April, adding to the squeeze felt by restaurants, retailers, and other merchants already struggling through the Covid-19 pandemic.