Charges have been laid against an alleged trespasser who was shot twice by police during a confrontation in the backyard of an Annerley home.