Man who allegedly shot East Timor's president in police custody