BERLIN— Germany honored U.S. President Joe Biden for his contribution to trans-Atlantic relations on Friday, ahead of his meetings with European allies on Russia’s war in Ukraine and the conflict in the Middle East. But the presidential election cast a long shadow over Biden’s trip, the first bilateral visit to Germany by a U.S.