Birmingham City cruised to a 2-0 win at St Andrew's to puncture Wrexham's hopes of a Championship play-off place.