Charlton took a huge step towards Championship safety with substitute Charlie Kelman's fifth goal of the season earning a 1-0 victory over Birmingham.