Morrison energy pledge at risk from hung parliament