Telford headteacher apologises for letter to parents saying after-school clubs prevent extremism, radicalisation and grooming