Senior officers said the suspect, who was born in Germany with Lebanese heritage, had links with Islamist extremists