Gayle half-century puts Kings XI into play-off contention