A leading conservative German legislator on Thursday insulted a distinguished Polish diplomat, a move that exposed latent tensions between two countries that since the end of the Cold War have used diplomatic, economic and cultural ties to overcome centuries of mistrust and enmity.