It was not intended for the mariadb-10.x packages to ship the new LGPL based client library. For that we have the separate mariadb-connector-c package. The package mariadb-10.2 is to be removed from Debian unstable and the next versions of mariadb-10.3 uploaded to Debian will not include this libmariadb3 library.