BERLIN—Britain is on course to lose its status as one of Germany’s top 10 trading partners this year for the first time since 1950, as Brexit-related trade barriers drive firms in Europe’s largest economy to look for business elsewhere. Britain left the European Union’s single market at the end of 2020, following more than four…