Teen with terminal cancer crowned Homecoming King