Text purportedly written by suspect Patrick Crusius speaks of defending country from 'cultural and ethnic replacement brought on by an invasion'