Militant killed in encounter in J-K’s Kupwara