Relative property (T) and related properties of wreath products