Man charged in attempted shooting of Wichita officer