A Maryland title company is due a refund on taxes for recording real estate transfers on mortgage funding withheld for future property improvements, the state’s tax court said in a decision released Monday, invalidating the city of Baltimore’s collection policy as unlawful.