German police are investigating the apparent murder of a prominent local politician, known for his pro-migrant views, who was found dead of a gunshot wound at his home.